package xin.nick.cloud.email;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Nick
 * @date 2021/8/1
 * @description
 */
@EnableDiscoveryClient
@SpringBootApplication
@EntityScan("xin.nick.cloud.pojo")
@ComponentScan(basePackages = "xin.nick.cloud")
@EnableFeignClients
public class ServiceCodeApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCodeApplication.class, args);
    }
}
